#include "Date.h"

DateInterval::DateInterval(int yearDiff, int monthDiff, int dayDiff, int hourDiff, int minuteDiff, int secondDiff) :
year(yearDiff), month(monthDiff), day(dayDiff), hour(hourDiff), minute(minuteDiff), second(secondDiff)
{
}

int DateInterval::getYearDifference() const
{
	return year;
}

int DateInterval::getHourDifference() const
{
	return hour;
}

int DateInterval::getMinuteDifference() const
{
	return minute;
}

int DateInterval::getSecondDifference() const
{
	return second;
}

int DateInterval::getMonthDifference() const {
	return  month;
}

int DateInterval::getDayDifference() const
{
	return day;
}